package com.gxa.modules.mapper.operationsmapper;

import com.gxa.modules.pojo.Build;
import com.gxa.modules.pojo.Room;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.sql.Array;
import java.util.ArrayList;
import java.util.List;

@Repository
public interface YttBuildMapper {

    List<Build> selectLouYu(@Param("buildName") String buildName, @Param("index")int index, @Param("limit")int limit);

    Integer selectLouYuCount(@Param("buildName")String buildName);

    int delLouYu(@Param("ids") String[] ids);

    int insertLouYu(Build build);

    int updLouYu(Build build);

    List<Room> selectRoomByBuildId(@Param("id") int id);

    int insertRoom(Room room);
}
